/*
*┌──────────────────────────────────────────────────────────────┐
*│　描    述：系统用户表                                                    
*│　作    者：sys                                              
*│　创建时间：2020-12-02 15:37:23   
*│　说    明：代码生成器生成   
*└──────────────────────────────────────────────────────────────┘
*/



using Dapper.Contrib.Extensions;
using System;
using System.ComponentModel.DataAnnotations;

namespace SXFramWork.Model
{
	/// <summary>
	/// 系统用户表
	/// </summary>
	[Table("SysUser")]
	public partial class SysUserEntity
	{
		[ExplicitKey]
		public string Id { get; set; }
		/// <summary>
		/// 用户名
		/// </summary>
		public string UserName {get;set;}

		/// <summary>
		/// 密码
		/// </summary>
		public string Password {get;set;}

		/// <summary>
		/// 真实姓名
		/// </summary>
		public string TrueName {get;set;}

		/// <summary>
		/// 电话
		/// </summary>
		
		public string Phone {get;set;}

		/// <summary>
		/// 状态
		/// </summary>
		
		public int Status {get;set;}

		/// <summary>
		/// 创建时间
		/// </summary>
		
		public DateTime? CreateTime {get;set;}

		/// <summary>
		/// 是否删除
		/// </summary>
		
		public int Deleted {get;set;}

		/// <summary>
		/// 性别
		/// </summary>
		
		public int Sex {get;set;}

		/// <summary>
		/// 地址
		/// </summary>
		
		public string Adress {get;set;}

		/// <summary>
		/// 头像url
		/// </summary>
		
		public string HeadPic {get;set;}

		/// <summary>
		/// 上次登录时间
		/// </summary>
		
		public DateTime? UpLoginDate {get;set;}

		/// <summary>
		/// 备注
		/// </summary>
		
		public string Remarks {get;set;}
		/// <summary>
		/// 邮箱
		/// </summary>
		public string Email { get; set; }

		[Write(false)]
		public string OrganizeId { get; set; }
		///// <summary>
		///// 关联角色
		///// </summary>
		[Write(false)]
		public string Roles { get; set; }
		[Write(false)]
		public string OrgName { get; set; }

	}
}
